home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-17  |  5.1 KB  |  232 lines

  1. /* vi:set ts=8 sts=4 sw=4:
  2.  *
  3.  * VIM - Vi IMproved    by Bram Moolenaar
  4.  *
  5.  * Do ":help uganda"  in Vim to read copying and usage conditions.
  6.  * Do ":help credits" in Vim to see a list of people who contributed.
  7.  */
  8.  
  9. /*
  10.  * proto.h: include the (automatically generated) function prototypes
  11.  */
  12.  
  13. /*
  14.  * Don't include these while generating prototypes.  Prevents problems when
  15.  * files are missing.
  16.  */
  17. #if !defined(PROTO) && !defined(NOPROTO)
  18.  
  19. /*
  20.  * Machine-dependent routines.
  21.  */
  22. /* avoid errors in function prototypes */
  23. # if !defined(FEAT_X11) && !defined(FEAT_GUI_GTK)
  24. #  define Display int
  25. #  define Widget int
  26. # endif
  27. # ifndef FEAT_GUI_GTK
  28. #  define GdkEvent int
  29. # endif
  30. # ifndef FEAT_X11
  31. #  define XImage int
  32. # endif
  33.  
  34. # ifdef AMIGA
  35. #  include "os_amiga.pro"
  36. # endif
  37. # if defined(UNIX) || defined(__EMX__) || defined(VMS)
  38. #  include "os_unix.pro"
  39. # endif
  40. # ifdef MSDOS
  41. #  include "os_msdos.pro"
  42. # endif
  43. # ifdef WIN16
  44. #  include "os_win16.pro"
  45. #  include "os_mswin.pro"
  46. # endif
  47. # ifdef WIN3264
  48. #  include "os_win32.pro"
  49. #  include "os_mswin.pro"
  50. # endif
  51. # ifdef VMS
  52. #  include "os_vms.pro"
  53. # endif
  54. # ifdef __BEOS__
  55. #  include "os_beos.pro"
  56. # endif
  57. # ifdef MACOS
  58. #  include "os_mac.pro"
  59. # endif
  60. # ifdef RISCOS
  61. #  include "os_riscos.pro"
  62. # endif
  63. # ifdef __QNX__
  64. #  include "os_qnx.pro"
  65. # endif
  66.  
  67. # include "buffer.pro"
  68. # include "charset.pro"
  69. # ifdef FEAT_CSCOPE
  70. #  include "if_cscope.pro"
  71. # endif
  72. # include "diff.pro"
  73. # include "digraph.pro"
  74. # include "edit.pro"
  75. # include "eval.pro"
  76. # include "ex_cmds.pro"
  77. # include "ex_cmds2.pro"
  78. # include "ex_docmd.pro"
  79. # include "ex_getln.pro"
  80. # include "fileio.pro"
  81. # include "fold.pro"
  82. # include "getchar.pro"
  83. # ifdef FEAT_HANGULIN
  84. #  include "hangulin.pro"
  85. # endif
  86. # include "main.pro"
  87. # include "mark.pro"
  88. # ifndef MESSAGE_FILE
  89. void
  90. #ifdef __BORLANDC__
  91. _RTLENTRYF
  92. #endif
  93. smsg __ARGS((char_u *, ...));    /* cannot be produced automatically */
  94. void
  95. #ifdef __BORLANDC__
  96. _RTLENTRYF
  97. #endif
  98. smsg_attr __ARGS((int, char_u *, ...));
  99. # endif
  100. # include "memfile.pro"
  101. # include "memline.pro"
  102. # ifdef FEAT_MENU
  103. #  include "menu.pro"
  104. # endif
  105. # include "message.pro"
  106. # include "misc1.pro"
  107. # include "misc2.pro"
  108. #ifndef HAVE_STRPBRK        /* not generated automatically from misc2.c */
  109. char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset));
  110. #endif
  111. #ifndef HAVE_QSORT
  112. /* Use our own qsort(), don't define the prototype when not used. */
  113. void qsort __ARGS((void *base, size_t elm_count, size_t elm_size, int (*cmp)(const void *, const void *)));
  114. #endif
  115. # include "move.pro"
  116. # if defined(FEAT_MBYTE) || defined(FEAT_XIM) || defined(FEAT_KEYMAP)
  117. #  include "mbyte.pro"
  118. # endif
  119. # include "normal.pro"
  120. # include "ops.pro"
  121. # include "option.pro"
  122. # include "quickfix.pro"
  123. # include "regexp.pro"
  124. # include "screen.pro"
  125. # include "search.pro"
  126. # include "syntax.pro"
  127. # include "tag.pro"
  128. # include "term.pro"
  129. # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
  130. #  include "termlib.pro"
  131. # endif
  132. # include "ui.pro"
  133. # include "undo.pro"
  134. # include "version.pro"
  135. # include "window.pro"
  136.  
  137. # ifdef FEAT_PYTHON
  138. #  include "if_python.pro"
  139. # endif
  140.  
  141. # ifdef FEAT_TCL
  142. #  include "if_tcl.pro"
  143. # endif
  144.  
  145. # ifdef FEAT_RUBY
  146. #  include "if_ruby.pro"
  147. # endif
  148.  
  149. # ifdef FEAT_GUI
  150. #  include "gui.pro"
  151. #  if defined(UNIX) || defined(MACOS)
  152. #   include "pty.pro"
  153. #  endif
  154. #  if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) && !defined(VMS)
  155. extern int putenv __ARGS((const char *string));        /* from pty.c */
  156. #   ifdef USE_VIMPTY_GETENV
  157. extern char_u *vimpty_getenv __ARGS((const char_u *string));    /* from pty.c */
  158. #   endif
  159. #  endif
  160. #  ifdef FEAT_GUI_W16
  161. #   include "gui_w16.pro"
  162. #  endif
  163. #  ifdef FEAT_GUI_W32
  164. #   include "gui_w32.pro"
  165. #  endif
  166. #  ifdef FEAT_GUI_GTK
  167. #   include "gui_gtk.pro"
  168. #   include "gui_gtk_x11.pro"
  169. #  endif
  170. #  ifdef FEAT_GUI_MOTIF
  171. #   include "gui_motif.pro"
  172. #  endif
  173. #  ifdef FEAT_GUI_ATHENA
  174. #   include "gui_athena.pro"
  175. #ifdef FEAT_BROWSE
  176. extern char *vim_SelFile __ARGS((Widget toplevel, char *prompt, char *init_path, int (*show_entry)(), int x, int y, guicolor_T fg, guicolor_T bg));
  177. #endif
  178. #  endif
  179. #  ifdef FEAT_GUI_BEOS
  180. #   include "gui_beos.pro"
  181. #  endif
  182. #  ifdef FEAT_GUI_MAC
  183. #   include "gui_mac.pro"
  184. #  endif
  185. #  ifdef FEAT_GUI_X11
  186. #   include "gui_x11.pro"
  187. #  endif
  188. #  if defined(FEAT_GUI_AMIGA)
  189. #    include "gui_amiga.pro"
  190. #  endif
  191. #  ifdef RISCOS
  192. #   include "gui_riscos.pro"
  193. #  endif
  194. #  ifdef FEAT_GUI_PHOTON
  195. #   include "gui_photon.pro"
  196. #  endif
  197. #  ifdef FEAT_SUN_WORKSHOP
  198. #   include "workshop.pro"
  199. #  endif
  200. # endif    /* FEAT_GUI */
  201.  
  202. # ifdef FEAT_OLE
  203. #  include "if_ole.pro"
  204. # endif
  205. # if defined(FEAT_CLIENTSERVER) && defined(FEAT_X11)
  206. #  include "if_xcmdsrv.pro"
  207. # endif
  208.  
  209. /*
  210.  * The perl include files pollute the namespace, therfore proto.h must be
  211.  * included before the perl include files.  But then CV is not defined, which
  212.  * is used in if_perl.pro.  To get around this, the perl prototype files are
  213.  * not included here for the perl files.  Use a dummy define for CV for the
  214.  * other files.
  215.  */
  216. #if defined(FEAT_PERL) && !defined(IN_PERL_FILE)
  217. # define CV void
  218. # ifdef __BORLANDC__
  219. #  pragma option -pc
  220. # endif
  221. # include "if_perl.pro"
  222. # ifdef __BORLANDC__
  223. #  pragma option -p.
  224. # endif
  225. # include "if_perlsfio.pro"
  226. #endif
  227.  
  228. #ifdef __BORLANDC__
  229. # define _PROTO_H
  230. #endif
  231. #endif /* !PROTO && !NOPROTO */
  232.